<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "../inc/commonJs.html">
<script language="JavaScript">
	function doSave(){
		var url = "<#if mxid??>editFlmx.do?mxid=${mxid}<#else>addFlmx.do</#if>";
		$('form').form('submit',{  
		    url:url,
		    onSubmit:function(){
		        return $(this).form('validate');  
		    },  
		    success:function(data){  
				top.closemodalwindow(true,data);
		    }  
		});
	}
	$(function(){
		$('#flid').combobox('setValue','${flid!0}');
	});
</script>

</head>
<body>
<form method="post" name="flmxForm" id="flmxForm">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_all">
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1"><font color=red>*</font>明细代码：</td>
		<td align="left" class="td_table_2">
			<input class="easyui-validatebox" type="text" required="true" id="mxdm" name="mxdm" maxlength="25" style="width:200px;" value="${obj.mxdm!}"></td>
	</tr>
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1"><font color=red>*</font>明细名称：</td>
		<td align="left" class="td_table_2">
			<input class="easyui-validatebox" type="text" required="true" id="mxmc" name="mxmc" maxlength="25" style="width:200px;" value="${obj.mxmc!}"></td>
	</tr>
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1"><font color=red>*</font>所属分类：</td>
		<td align="left" class="td_table_2">
		<input id="flid" class="easyui-combobox" name="flid" style="width:200px;" data-options="valueField:'flid',textField:'flmc',url:'${request.contextPath}/xadmin/system/listFlForCombox.do'" panelHeight="90" /></td> 
	</tr>
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1">上级明细：</td>
		<td align="left" class="td_table_2">
			<input class="easyui-validatebox" type="text" id="fid" name="fid" maxlength="25" style="width:200px;"  panelHeight="70" value="${obj.fid!}"></td>
	</tr>
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1">排序：</td>
		<td align="left" class="td_table_2">
			<input class="easyui-validatebox" type="text"  id="px" name="px" maxlength="25" style="width:200px;" value="${obj.px!}"></td>
	</tr>
	<tr height="35"> 
		<td width="30%" align="right" class="td_table_1"><font color=red>*</font>状态：</td>
		<td align="left" class="td_table_2">
			<input class="easyui-validatebox" type="text" required="true" id="zt" name="zt" maxlength="25" style="width:200px;" value="${obj.zt!}"></td>
	</tr>
</table>
</form>
</body>
</html>